__author__ = 'Destroyer'
from django.contrib import admin
from players.models import Player, ITitle, NTitle

class ITitleInline(admin.TabularInline):
    model = ITitle
    extra = 3

class NTitleInline(admin.TabularInline):
    model = NTitle
    extra = 3

class PlayerInline(admin.TabularInline):
    model = Player
    extra = 3

    inlines = [NTitleInline,ITitleInline]



admin.site.register(Player)
admin.site.register(NTitle)
admin.site.register(ITitle)